package com.itheima.domain.db;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class QuestionnaireResult implements Serializable {

    private Long id;//主键
    private Long questionnaireId;//问卷id
    private String cover;//封面url
    private String content;//人格类型
    private Integer maxScore;//人格类型评选所需得分上限
    private Integer minScore;//人格类型评选所需得分下限

    @TableField(fill = FieldFill.INSERT)
    private Date created;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updated;

}
